import "./style.css";

import Base from "./baby/Base";
import createTimer from "./timer";
import initMap from "./map/init";

(async (document) => {
  const oApp = document.getElementById("app")!;
  const oCanvas = document.createElement("canvas");
  oCanvas.style.position = "absolute";
  oCanvas.width = window.innerWidth;
  oCanvas.height = window.innerHeight;
  await initMap()
  Base.getInstance(oCanvas);
  oApp.appendChild(oCanvas);
  createTimer()
})(document);




